﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFound.Wpf.Models
{
   public class SaleFoundModel:INotifyPropertyChanged
   {
       
 

       private Found _found;
       public Found Found
       {
           get { return _found; }
           set
           {
               _found = value;
               if (PropertyChanged != null)
               {
                   PropertyChanged(this, new PropertyChangedEventArgs("Found"));
               }
           }
       }

       private decimal _count;
       public decimal Count
       {
           get { return _count; }
           set
           {
               _count = value;
               if (PropertyChanged != null)
               {
                   PropertyChanged(this,new PropertyChangedEventArgs("Count"));
               }
           }
       }

       private decimal _equity;
       public decimal Equity
       {
           get { return _equity; }
           set
           {
               _equity = value;
               if (PropertyChanged != null)
               {
                   PropertyChanged(this, new PropertyChangedEventArgs("Equity"));
               }
           }
       }

       private decimal _fee;
       public decimal Fee
       {
           get { return _fee; }
           set
           {
               _fee = value;
               if (PropertyChanged != null)
               {
                   PropertyChanged(this, new PropertyChangedEventArgs("Fee"));
               }
           }
       }

       public event PropertyChangedEventHandler PropertyChanged;

       private DateTime _dateTime;
       public DateTime DateTime
       {
           get { return _dateTime; }
           set
           {
               _dateTime = value;
               if (PropertyChanged != null)
               {
                   PropertyChanged(this, new PropertyChangedEventArgs("DateTime"));
               }
           }
       }
   }
}
